/*
 * TO TEST SECRET SANTA!!!
 */
package SecretSanta;
import java.util.*;

/**
 *
 * @author mrandell
 */
public class Main {
    
    public static void printState(SecretSanta santa)
    {
        List<String> participantNames = santa.getParticipantNames();
        santa.getParticipantRestrictions("John S");
        for(String person: participantNames)
        {
            System.out.println(person);
            for(String rest: santa.getParticipantRestrictions(person))
            {
                System.out.println("\t" + rest);
            }
            System.out.println("\t" + santa.getParticipantLastMatch(person));
        }
    }
    
    public static void main(String[] args) 
    {
        SecretSanta santa = new SecretSanta();
        printState(santa);
        santa.match();
    }
}
